I hereby claim:
- I am jaredpar on github.
- I am jaredpar (https://keybase.io/jaredpar) on keybase.
- I have a public key whose fingerprint is 45AE AD6B 43A8 170C FF01 A26F 95C7 749A D1E7 9177
To claim this, I am signing this object:
/// <summary> | |
/// This will get the text of the ITextView line as it appears in the actual user editable | |
/// document. | |
/// </summary> | |
public static bool TryGetText(ITextView textView, ITextViewLine textViewLine, out string text) | |
{ | |
var extent = textViewLine.Extent; | |
var bufferGraph = textView.BufferGraph; | |
try | |
{ |
/// <summary> | |
/// This will get the text of the ITextView line as it appears in the actual user editable | |
/// document. | |
/// </summary> | |
public static bool TryGetText(ITextView textView, ITextViewLine textViewLine, out string text) | |
{ | |
var extent = textViewLine.Extent; | |
var bufferGraph = textView.BufferGraph; | |
try | |
{ |
class Program | |
{ | |
[StructLayout(LayoutKind.Explicit)] | |
struct Union | |
{ | |
[FieldOffset(0)] | |
internal byte ByteField; | |
[FieldOffset(0)] | |
internal bool BoolField; |
C# | |
private static readonly ReadOnlyCollection<ITagSpan<IntraTextAdornmentTag>> EmptyTagColllection = new ReadOnlyCollection<ITagSpan<IntraTextAdornmentTag>>(new List<ITagSpan<IntraTextAdornmentTag>>()); | |
F# | |
let emptyTagCollection = List.empty | |
set nobackup | |
set nocp | |
set tabstop=4 | |
set shiftwidth=4 | |
set et | |
set ignorecase | |
set hlsearch | |
set ai | |
set ruler |
package com.koushikdutta.async; | |
import java.io.IOException; | |
import java.nio.channels.SelectionKey; | |
import java.nio.channels.Selector; | |
import java.util.Set; | |
import java.util.concurrent.Semaphore; | |
import java.util.concurrent.TimeUnit; | |
/** |
function f1() { return @("hello"); } | |
function f2() { return @("hello", "world"); } | |
$a = f1; | |
write-host $a.Length # prints 5 | |
$a = f2; | |
write-host $a.Length # prints 2 |
I hereby claim:
To claim this, I am signing this object:
class Other | |
{ | |
internal static Other Instance | |
{ | |
get { return null; } | |
} | |
internal int Compare(A left, A right) { return 0; } | |
static internal int Compare(B left, B right) { return 0; } | |
} |
static void Main(string[] args) | |
{ | |
A a = default(A); | |
D d = new D(); | |
d.Foo(a); // Prints D.Foo | |
} | |
struct A { } | |
struct B | |
{ |