24 references to RefSafetyRulesAttributeLib
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (22)
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.cs (12)
75
var c = CreateCompilation(Parse(ExampleSource + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
219
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
339
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
433
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
490
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
529
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
560
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
600
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
668
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
749
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
830
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
924
var c = CreateCompilation(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] {
RefSafetyRulesAttributeLib
});
Emit\EditAndContinue\EditAndContinueTests.cs (10)
2605
var compilation0 = CreateCompilation(source0, references: new[] {
RefSafetyRulesAttributeLib
}, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: ComSafeDebugDll);
12523
var compilation0 = CreateCompilation(source0.Tree, references: new[] {
RefSafetyRulesAttributeLib
}, options: ComSafeDebugDll);
13406
var compilation0 = CreateCompilation(source0.Tree, references: new[] {
RefSafetyRulesAttributeLib
}, options: ComSafeDebugDll);
13570
var compilation0 = CreateCompilation(source0.Tree, references: new[] {
RefSafetyRulesAttributeLib
}, options: ComSafeDebugDll);
13820
var compilation0 = CreateCompilation(source0.Tree, references: new[] {
RefSafetyRulesAttributeLib
}, options: ComSafeDebugDll);
13983
var compilation0 = CreateCompilation(source0.Tree, references: new[] {
RefSafetyRulesAttributeLib
}, options: ComSafeDebugDll);
14187
var compilation0 = CreateCompilation(source0.Tree, references: new[] {
RefSafetyRulesAttributeLib
}, options: ComSafeDebugDll);
14435
var compilation0 = CreateCompilation(source0.Tree, references: new[] {
RefSafetyRulesAttributeLib
}, options: ComSafeDebugDll);
14694
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] {
RefSafetyRulesAttributeLib
}, options: ComSafeDebugDll);
14801
var compilation0 = CreateCompilation(new[] { source0, IsExternalInitTypeDefinition }, references: new[] {
RefSafetyRulesAttributeLib
}, options: ComSafeDebugDll);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Attributes\AttributeTests_IsByRefLike.cs (1)
494
CompileAndVerify(text, references: new[] {
RefSafetyRulesAttributeLib
}, verify: Verification.Passes, symbolValidator: module =>
Attributes\AttributeTests_RefReadOnly.cs (1)
1211
CompileAndVerify(text, references: new[] {
RefSafetyRulesAttributeLib
}, verify: Verification.Fails, symbolValidator: module =>